package com.sdonkey.score.model;


public class AdDetailBean {
	private String adId;
	private String advUrl;
	private String adName;

	private String adHomepage;

	private String adClassify;

	private String adKey;

	private String description;

	private String adType;

	private String duration;

	private String picture_num;

	private String mobileVUrl;

	private String pcVUrl;

	private String padVUrl;

	private String tvVUrl;

	private String mobileSize;

	private String pcSize;

	private String padSize;

	private String tvSize;
	
	private String createTime;

	private String updateTime;
	
	// -1:审核未通过 0：审核中 1：审核通过 2：投放中 3：暂停投放 4：投放结束
	private String status;
	private String terminalType;//终端类型（mobile，pc，pad，tv）
	

	public String getAdvUrl() {
		return advUrl;
	}

	public void setAdvUrl(String advUrl) {
		this.advUrl = advUrl;
	}

	public String getTerminalType() {
		return terminalType;
	}

	public void setTerminalType(String terminalType) {
		this.terminalType = terminalType;
	}


	public String getAdHomepage() {
		return adHomepage;
	}

	public void setAdHomepage(String adHomepage) {
		this.adHomepage = adHomepage;
	}

	public String getAdClassify() {
		return adClassify;
	}

	public void setAdClassify(String adClassify) {
		this.adClassify = adClassify;
	}

	public String getAdKey() {
		return adKey;
	}

	public void setAdKey(String adKey) {
		this.adKey = adKey;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getPicture_num() {
		return picture_num;
	}

	public void setPicture_num(String picture_num) {
		this.picture_num = picture_num;
	}

	public String getMobileSize() {
		return mobileSize;
	}

	public void setMobileSize(String mobileSize) {
		this.mobileSize = mobileSize;
	}

	public String getPcSize() {
		return pcSize;
	}

	public void setPcSize(String pcSize) {
		this.pcSize = pcSize;
	}

	public String getPadSize() {
		return padSize;
	}

	public void setPadSize(String padSize) {
		this.padSize = padSize;
	}

	public String getTvSize() {
		return tvSize;
	}

	public void setTvSize(String tvSize) {
		this.tvSize = tvSize;
	}

	public String getAdName() {
		return adName;
	}

	public void setAdName(String adName) {
		this.adName = adName;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getAdType() {
		return adType;
	}

	public void setAdType(String adType) {
		this.adType = adType;
	}

	public String getMobileVUrl() {
		return mobileVUrl;
	}

	public void setMobileVUrl(String mobileVUrl) {
		this.mobileVUrl = mobileVUrl;
	}

	public String getPcVUrl() {
		return pcVUrl;
	}

	public void setPcVUrl(String pcVUrl) {
		this.pcVUrl = pcVUrl;
	}

	public String getPadVUrl() {
		return padVUrl;
	}

	public void setPadVUrl(String padVUrl) {
		this.padVUrl = padVUrl;
	}

	public String getTvVUrl() {
		return tvVUrl;
	}

	public void setTvVUrl(String tvVUrl) {
		this.tvVUrl = tvVUrl;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAdId() {
		return adId;
	}

	public void setAdId(String adId) {
		this.adId = adId;
	}
		

	/*public void transform() {

		if (StringUtils.isBlank(this.mobileVUrl)) {
			// this.mobileVUrl = null;
		} else {
			if ("video".equals(this.adType)) {
				this.mobileVUrl = FileUploadTool.SHOW_VIDEO_PRE
						+ this.mobileVUrl;
			} else if ("picture".equals(this.adType)) {
				this.mobileVUrl = FileUploadTool.SHOW_IMG_PRE + this.mobileVUrl;
				;
			}
		}

		if (StringUtils.isBlank(this.pcVUrl)) {
			// this.pcVUrl = null;
		} else {
			if ("video".equals(this.adType)) {
				this.pcVUrl = FileUploadTool.SHOW_VIDEO_PRE + this.pcVUrl;
				;
			} else if ("picture".equals(this.adType)) {
				this.pcVUrl = FileUploadTool.SHOW_IMG_PRE + this.pcVUrl;
			}
		}

		if (StringUtils.isBlank(this.padVUrl)) {
			// this.padVUrl = null;
		} else {
			if ("video".equals(this.adType)) {
				this.padVUrl = FileUploadTool.SHOW_VIDEO_PRE + this.padVUrl;
				;
			} else if ("picture".equals(this.adType)) {
				this.padVUrl = FileUploadTool.SHOW_IMG_PRE + this.padVUrl;
			}
		}

		if (StringUtils.isBlank(this.tvVUrl)) {
			// this.tvVUrl = null;
		} else {
			if ("video".equals(this.adType)) {
				this.padVUrl = FileUploadTool.SHOW_VIDEO_PRE + this.padVUrl;
			} else if ("picture".equals(this.adType)) {
				this.padVUrl = FileUploadTool.SHOW_IMG_PRE + this.padVUrl;
			}
		}

		if (StringUtils.isBlank(this.adHomepage)) {
			// this.adHomepage = null;
		} else {
			this.adHomepage = FileUploadTool.SHOW_IMG_PRE + this.adHomepage;
		}
	}*/


/*	private String key1;
	private String key2;
	private String key3;
	private String key4;
	private String key5;
	private String key6;

	public String getKey1() {
		return key1;
	}

	public void setKey1(String key1) {
		this.key1 = key1;
	}

	public String getKey2() {
		return key2;
	}

	public void setKey2(String key2) {
		this.key2 = key2;
	}

	public String getKey3() {
		return key3;
	}

	public void setKey3(String key3) {
		this.key3 = key3;
	}

	public String getKey4() {
		return key4;
	}

	public void setKey4(String key4) {
		this.key4 = key4;
	}

	public String getKey5() {
		return key5;
	}

	public void setKey5(String key5) {
		this.key5 = key5;
	}

	public String getKey6() {
		return key6;
	}

	public void setKey6(String key6) {
		this.key6 = key6;
	}

	public void transAdkey() {
		if (StringUtils.isNotBlank(this.adKey)) {
			this.adKey = this.adKey.replace("null", "");
			String[] keys = this.adKey.split("\\|");
			if (keys.length == 6) {
				this.key1 = keys[0];
				this.key2 = keys[1];
				this.key3 = keys[2];
				this.key4 = keys[3];
				this.key5 = keys[4];
				this.key6 = keys[5];
			} else {
				this.key1 = keys[0];
			}
		}
	}*/
	
/*private String[] classfyIds;
	
	public String[] getClassfyIds() {
	return classfyIds;
}

public void setClassfyIds(String[] classfyIds) {
	this.classfyIds = classfyIds;
}

public void transClassfyId() {
	if (StringUtils.isNotBlank(this.adClassify)) {
		this.classfyIds = this.adClassify.replaceFirst("\\|", "").split("\\|");
	}
}*/

}
